Add parentheses to print statements to enable Python 3 compatibility