A didactic example of how iterators, reducers and reducees work