Update README.md

Formatting and fixing errors in the examples.