How the Inventor of the Rubik’s Cube Cracked His Own Code