created iterators.rb based on:
http://scottluptowski.com/posts/recreating-ruby-iterator-methods-with-while-and-yield/
and
The Well Grounded Rubbyist