detect_dupes function

Detect and Remove Duplicate Records