Add example.

Closes #1.