Screensaver assignment for animations class written in openGL using freeglut