Add example. Fixes #12. Fixes #16