Trie generation and get_adj() working for Boggle