palindrome works for several different strings