The Tower of Hanoi

Move all of the rings to the rightmost peg. You may only move one ring at a time, you must never allow a large ring to rest on a smaller ring.