Introduction to Ruby week 8 exercise