Week 5 Homework v3

Cannot figure out how to solve challenge_2.rb