Frequent Words with Mismatches Problem (updated)

Small update,  replaced a couple of clunky list comprehensions with
filters.