Docs

I added some introductory text to godoc. And I squeezed the example from the tests down into a small example that gets embedded in godoc (and also counts as a test). I left the original test there because it tests error values.

I think you can close #7 with this merged in since the example will be visible on godoc.org.