Detects and counts the number of objectives encountered. The number is printed on exit.
Planar movement inside the maze Fixed orientation