Change print statements to print functions to fix in python3.