Another MazeSolver project but using trees