Basic light reflection code using opengl libraries