Add Longest Common Prefix