How may I simulate a random walk with a module where I have to input the distance travelled in the xy plane as well as the region I plot the random walk in?