implemented random walk