public DynamicMazeGenerator(IMazeFactory mazeFactory)
 {
     _maze = mazeFactory.CreateMaze();
 }