Trie implementation using an array

Trie implementation using an array