Added procedure of X window creation obtained from the opengl man docs