allowed for punctuation in palindrome test for string