Homework part 2

I'm still getting used to all this. 
If you want to learn some other iterators, try to implement this using select, or inject