corrected print statements for python3