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
void findMatchedWords ( unordered_set < string > dict , string pattern ) {