search for pattern in Trie and print all words matching that pattern
static bool search ( String pattern ) { int index ; TrieNode pCrawl = root ; for ( int level = 0 ; level < pattern . Length ; level ++ ) { index = pattern [ level ] - ' A ' ;