add cortex example; temporarily use my cortex branch

The example should be easy enough to delete, and will remind me how to
use it until I'm comfortable with it.