create a basic opengl program