add AddMazeObject method