SubPalindrome algorithm added