Simple Rubics Cube simulator and solver. Trying to learn C++