Searching in matrices (2d arrays)

alt text

we use nested for loop

alt text