Tower of Hanoi using C++