PEP8 Fixes,Python3 Compatibility