Added filter_punctuation function