Add code example to README.md