Added function searchMinGreaterValue.

Addition of searchMinGreaterValue, and flowchart!