Planner for a Maze in Elements TD