WIP: creating simple generator.

#1, #3, #8