linear-assignment: a function to solve least-cost assignment problems