Implementing example 1.1 - 'Our First OpenGL Program'.