pseudo code

pseudocode