Update README.md

Edited the README.md file with Algorithm section