Munkres Assignment for square and rectangular matrices
