Why can't you find the drunkard's average distance by listing cases, and why is only the Field class allowed to change?
Short drills on what this video just taught. Write the code, run the checks, and reveal the answer only if you are stuck.
After a first step east the drunk is at , and the second step leaves him at one of the four points in ends, each equally likely. Compute the average distance of these four points from the origin and assign it to avg.