We set the display area to be the full screen with the call
     glutFullScreen();
To reset the display to a window when the user chooses, we use the glut functions for positoning and sizing the window as we done in main. In particular, we make the following two calls:
     glutPositionWindow(10, 10);
     glutReshapeWindow(500, 500);