Update LongestCommonPrefix.java