Simplest example of generators