Adding Nick Becker's generator.py solutions