I\'m required to create a code that takes a 2D array and then sends it into another function that checks if there is adjacent equal elements by row or by column or by or by