Added an error message for invalid words
Also strip punctuation and uppercase user input to properly match words in the tree
Don't need a newline in front of the header