Corrected print statements to work correctly on Python 2.x