Using Manacher's Algorithm to do longest palindrome substring matching