Make library compatible with Python2 and Python3
Merge pull request #7 from pennlabs/python3

Make library compatible with Python2 and Python3