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