Update MazeGraph.java