Fixed print function for python 3