Student Duplicates Removal Function