add Towers of Hanoi and roots()