Experimenting with openGL and c++