Removing multiple interations over collection

In doing #map then #reject the collection is being iterated over
twice. By moving to #each_with_object, there is one less interation.
Merge pull request #50 from jeremyf/removing-multiple-iterations

Removing multiple interations over collection