I\'ve been trying to write a function for an assignment that removes duplicate entries in a linked list but it just doesnt work no matter what I try. It either does nothing