Adding generators example code, with distant thoughts about merging it in to main code.