Added compactList to deal with bug in addCurrent where currentIndex was alreay = size = capacity, even though all of the entries in the array were nil.
Added compactList to deal with bug in addCurrent where currentIndex
was alreay = size = capacity, even though all of the entries in the
array were nil.

cander/pseudoflow-solver,cander/pseudoflow-solver