Uploading solution to Check if Palindrome