example of a pseudocode flowchart - Search