Algorithm Experiment 4.3 Changing the shoe problem