function [x y] = Diffusion(N) % N is a positive integer. % Simulates Diffusion % x and y are row vectors with the property that (x(k),y(k)) is the % location of the token after n time % Initializations... k = 0; xc = 0; yc = 0; % In general, (xc,yc) is the location after N Times. while k