Create Longest Palindromic Substring [brute force solution]