How to solve the Rubik’s cube