Rubik's cube in OpenGL