Converted some print statements into python 3 syntax