algo4: twopointers: longest_palindromic_substring: Revised and polished