Update README.md

Added comments to the sample code