Remove duplicates o final exam: question 4