Update README.md

update readme.md with step to reproduce and how the code works.