demo program for my opengl and c++ learning