The classic problem of the Towers of Hanoi.