How to Solve a Rubik's Cube with an iPhone