Adding function to remove unnecessary punctuation tokens