Write a function printMax(arr) which accepts an array as a parameter. The function prints the maximum value in the array as well as the row and column element numbers where this max value occurs. If there exist multiple such elements in different rows and columns, print the one with the smaller row number and smallest column number.