Compatibility with both Python 2(.7) and 3
Merge pull request #7 from jrings/master

Compatibility with both Python 2(.7) and 3