Python code to solve the cube of doom