add generator
Merge pull request #5 from yields/add/generator

add generator