adding each_with_object.rb