Recreation of profanity checking program