add Longest Common Prefix solution