Transformed Maze to MazeGenerator static class