Add an example to README.md

Add an example to accompany the object-oriented refactor.