Palindrome Extended Algorithme