Creation and integration of Rubik's Cube class