Problem 10. Remove duplicates from list.