Fix the pseudo code in Readme.md