returns min charcters to be added to make string pallindromic