passed: search2dmatrix