Update for Python 3 syntax

Updates some syntax to work with Sublime Text 3/Python 3
Merge pull request #11 from JohnArcher/master

Update to work with Sublime Text 3/Python 3