How to solve a rubik's cube with the layer by layer method