Fixed some typos

Fixed some typos in the README docs and code snippets.