Function to find subpalindrome

Palindrome refers to like "acrca". The longest_subpalindrome_slice is used to find the palindrome in a sentence or just in a word.