Java implementation of a a maze solver using the Turtle class