Created pseudocode.