compatibility with python 3.x

print using brackets
Merge pull request #174 from ivantchomgue/patch-10

compatibility with python 3.x