first attempt at hanoi, but wrong.