Update LongestCommonString.java