Add code examples in README.md