Simple Implementation of a Trie