This program models a “random walker” that starts at location 0,0, an intersection in the middle of a city laid out in square blocks. Each turn, the random walker moves one block to the north, east, west, or south, with the x-coordinate changing by 1 block or the y-coordinate changing by one block.
Print out the move number and the location of the random walker after every turn, and stop the walker when she has returned to the 0,0 starting position.