Changed all print statements to Python3 style