Added binary trie implementation for lm