Algorithm And Flowchart For Binary Search In 2d