did code for a successfull cases. Still have to code for the cases where the linkedlist entry might not exist and for the case where it is a new word completely