commit towers of hanoi