[E-6] Write a function that finds the maximum element in a 2D array of integers.
[E-6]
int findMax( int nrows, int ncols, int x[nrows][ncols] )