OpenGL rendering rubik's cube and a java rubik's solver