Added constructors and addWord to Trie