Create simple generator example