Add cursor examples.
Merge pull request #239 from benbjohnson/example

Add cursor examples.