Added shaders, using a simple program instead of the deprecated immediate mode.