port the code to Python3
add six to the list of required packages
Merge pull request #19 from shalakhin/python3

ported to python 3