Made isPalindrome(s) more robust by considering whitespace, punctuation, and case. Alternate solutions are provided in comments.