Update MazeGenerator.cs