Added option to Hungarian algorithm to supply return value; further fleshing out of seams sample