partial progress toward making an iterator, will need to modify kennyg to support generators or convert this to usings a Queue