C++ 3x3 rubik cube manipulator