Ruby exercises from chapters 3-14 of the book "Learn to Program"