read solution from a file: towers of hanoi