convert tab to space
fixed python 3 compatibility
Merge pull request #21 from mursts/patch-py3

python 3 compatibility and convert tab to space