2nd assignment - Towers of Hanoi variant