Initial trie commit

Adding the base trie classes; Trie and TrieNode. I will re-test them
afterwards.