LazyGenerators, task 4