Moved GetPath to Maze class.