Solving Maze Problems | judge.