Working through Ruby 4 challenges