This is a program to simulate the towers of hanoi problem.