Added Algorithm for longestPalindromeSubstring