Added Hanoi class and associated calls.