removeduplicates function

Remove Duplicates