Tower of Hanoi - command-line interface