Added source code example to README.md.