CS112 OpenGL class assignment