Basic trie implementation
it's working!