opengl code samples for my course