A path is followed through a grid. At each intersection the path chooses randomly, to turn left or right or to continue straight ahead until it reaches a border.