implement tower of hanoi, three pegs, x number of disks