added palindrome checker