An Implementation of Two-Trie and Tail-Trie using Double Array