Update README.md

formatted psuedo-code