Update MazeSearch.java