Fixed Python 3 support
Merge pull request #2 from suda/master

Python 3 support :)