Add Hanoi towers implementation