Generating a Random Walk
A random walk in two dimensions along a square grid has equal probability of veering off in any direction. Over time, this means that the
expected total distance travel increases, but the mean expected position remains the origin (0,0).
4 points
Compose a function `random_walk_distance` which accepts a number of steps $n$ and an optional argument `seed` with default of 101. This
function should return the distance traveled from the origin after a random walk of $n$ steps of size 1, chosen from the four cardinal directions (in order,
forward, backward, left, right).
Your submission should include a function `random_walk_distance(n,seed)`. Note that this is just a random walk: there is no figure-of-merit $f$
to track.