Change 'print' statement to make compatible with python3