Searcha2DMatrix

            int start = 0;
            int end = m*n-1;
            int mid=(start+end)/2;
            int i=mid/n;
            int j=mid%n;