Explain this shoe thief puzzle!