added snippet for finding the operation req to convert to a palindrome