Adding trie

No tests for now. Woooo.