Cleans up the code in examples/read.

Adds the CONTRIBUTING file to the repository.
It offers contribution guidelines for bug reports and
pull requests.