Simple Java Implementation of Double Array Trie