Locate the maximum penalty. If it is along the side of the table, make
maximum assignment to the cell having minimum cost in that row. If it is
below the table, make maximum assignment to the cell having minimum cost
in that column. Continue in the same manner until all assignments are made.