Update README.md

Made pseudocode more correct