Made the print statements python 3 friendly.