update readme.md with explanation of how it works.