A Trie implementation. Will implement it a few different ways.