Generator example bug fix 

The fibonacci generator should be used in the example
Merge pull request #373 from jpmossin/patch-1

Generator example bug fix