Add more to .gitignore
Rewrite trivial-example.rst into tutorial form