Towers of Hanoi solved