Add example.py

You might be interested in this; I sent a PR to @bufordtaylor's repo as well.