Python 3.x compatability.
Merge pull request #2 from lukasgraf/python3

Python 3.x compatability