Is palindromic string method with tests and initial data for finding the largest substring (brut force method)