Slow. Can solve Rubik puzzle within 7 steps

Might need heuristic function.