Python3 compat

Python 3 Compatibilty Patch -- fixes #11