Added a python code example, closes #118