Fix example of using generator in readme
Merge pull request #8 from benhanzl/master

Fix example of using generator in readme