Created balancing tree of words with linked list of line numbers, retains punctuation inside but not outside words, no longer adds null items to tree