Added MazeGenerator code