Creating a coloured cube using OpenGL