refactored the Dedupe class so it takes a sample of record pairs instead of dictionary of records