add LongestCommonPrefix.java