Links for tower-of-hanoi