Linear algorithm for Longest Palindromic Substring.