don't remove string from 2nd list on match

..because some other string might match with it too, duh. Also changed
the algorithm to match directly first, and then if there's no match,
look for similarities using the edit distance method.