test_profanity function

Test for profanity in a string