worked more on hanoi, but still not there yet.