Class assignment to do OpenGL 2D drawing using Glut in C++