Update pseudocode.md

Clarified instructions and fixed typos.