Python 3 Generator

Thanks to boxmein!
Update generator3.py

Fixed for reorganization
Merge pull request #17 from wolfy1339/master

Merge