The ring problem

1. The problem

Move all three discs from the first (left) peg to the last (right) peg, so that the large red disc is on the bottom, medium blue disc is in the middle, and the small green disc is on top. You may move only one disc at a time, and only to another peg; you may not place a larger disc on top of a smaller one. A disc can only be moved between the adjacent pegs.

Sample:

20% complete