An algorithm for then×n optimum assignment problem