added trie construction using a tree structure. added depth-first traversal algorithm for testing/printing.
added exact string matching via trie.
adjusted class names for later code clarity.