DP approach: Longest Palindromic Substring

This time DP is used