Update MazeGenerator.java