Updating to Python3 (print statements to functions)