Tower of Hanoi solver in C#