C++ Rubiks Cube Solver