Update README.md

formulating logic