Search a given matrix A for elements that are both a maximum in their row and a minimum in their column. These elements are called peak-columns. Display the positions and values of all peak-columns found. Examples of elements that are peak-columns:
Sample input:
Matrix A: 3,3
| 12 2 4 |
| 17 10 1 |
| 92 80 79 |
Sample output:
(1,1) = 12