Search 2d sorted array.