rubiks cube solver create in cpp