Created palindrome checker