Persistent Systems Interview Question

Write program for Tower of Hanoi.