text: Function to print all the strings that match the given pattern where every character in the pattern is uniquely mapped to a character in the dictionary
code: static void findMatchedWords ( HashSet < string > dict , string pattern ) {