Makes the project compatible with Python 3

Would appreciate a release for Python 3. Cheers!