Update fxn.py to use a print function

This stops the syntax error when using Python 3
Merge pull request #1 from orf/patch-1

Update fxn.py to use a print function