Cleaned up palindrome conditional