final lesson : loops in ruby