Longest Palindromic Substring DP n^2