Create longestCommonSubstring