an implementation of the Hungarian algorithm