Converted print statements to use the Python3 compatible form