check palindrome completed