We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.
Try it yourself, you may find it is not as difficult as you think!
But this isn't difficult - think about it as two problems: a "find it in the rows" and a "find it in the columns". Each needs a loop to check each row/column, and then it's just a "find the string in the one dimensional array" repeated.
Try it by hand, on paper, and see what you have to do. It's not difficult to work out!