Update fxn.py to use a print function

This stops the syntax error when using Python 3