Tower of hanoi game in C