Updated README.md with sample code and coding notes