made rotating objects in the maze