Python 3 Generator

Thanks to boxmein!
Update generator3.py

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

Merger