Updated README with modifications to code examples