Python 3 compatibility
Merge pull request #29 from carlosmn/python3

Python 3 compatibility