added Check if Palindrome solution