Corrected some print statements for py3.