brutish towers of hanoi exercise (recursive)