Updating example snippets.
Merge pull request #15 from TimSimpsonR/add-snippets

Updating example snippets.