that's exactly what my post explained how to do.
Step 1: find a dictionary file of all the words you want to check. My linux distribution came with a good dictionary file with all the words in Webster's dictionary, for example.
Step 2: write a program as described in my first post.
Step 3: feed the dictionary file to that program and watch the results roll in!