C++ code that solves Rubik's Cube.