If size of pattern is same as size of current dictionary word and both pattern and the word has same hash , print the word
if ( word . length ( ) == len && encodeString ( word ) == hash ) cout << word << " ▁ " ; } }