Fixed print statements for python3