Change print function to support Python 2 and 3
Merge pull request #1 from f3anaro/py3-print-support

Change print function to support Python 2 and 3