working version with a transition from the menu to the game and the beginning of the creation of the maze