adding mazeGenerator