Add towers of hanoi solver