#Wall Follower # Start moving southward 0 xxxx -> s 0 #When hit floor, turn east and continue 0 xxxS -> E 1 #Continue East 1 xxxS -> E 1 #When hit east wall, go north 1 xExS -> N 2 #Continue North 2 xexx -> n 2 #When hitting north wall, head west 2 Nexx -> w 3 #Continue West 3 Nxxx -> w 3 #When hitting west wall, head south 3 n