From a set of given records containing contact information, find the duplicate records and merge them if different contacts exists else deprecate the duplicate. The record i