Create example.py

Example using linfit.py