Search In A Sorted 2d Matrix