Changed print statements to run in python 3 environment.