changed unordered_map to multimap, added lookup for zero-distance match, added test files