Replace print statement with print function for Python3 compatability