A simple towers of hanoi solver