Update README.md

added the example code to the front page documentation.