Fixed example to work with python3

Just some print parentheses added.