Adding more comments to the code.
Modified README.md