Making Rubik's Magic