python 3 compatibility
Merge pull request #48 from dirk-thomas/master

python 3 compatibility