Example program which demonstrates some python code I wrote