Added the option to add new words to the tree after its construction