Create LongestPalindromicSubstring.java

Submission Result: Compile Error

Line 39: ';' expected

Submission Result: Compile Error

Line 12: cannot find symbol: variable length