Update fxn.py to use a print function

This stops a syntax error when using Python 3. This doesn't make it Python 3 compatible but it will at least let the module be imported (and installed) on Py3