Finalize the python klotski solution