Calling function to check if words are present in the dictionary or not
if ( match_words ( dictionary , sentence , n , m ) ) : NEW_LINE INDENT print ( " YES " ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( " NO " ) NEW_LINE DEDENT