Longest Common Prefix 2nd

Note: more complicated than 1st..