Added Alphabet and Trie classes.