epicodus assignment in Ruby