Move all disks to the last peg
Move all the disks from the first peg to the last. A larger disk can never be placed on top of a smaller one.