Fixed print statements for py3