I have the following code that finds words in a two-dimensional array horizontally, I also have code that does it vertically but I don\'t know how to convert this code to a