Add more generator example documentation

These examples show more examples of generators being used for common
problems.