Finished palindrome checker