Update PSEUDOCODE.md

Re-arranged some things, made the formatting a bit more clear, and started pseudocode type 1.