Convert print statements to Python 3 syntax