Add problem longest_common_prefix. Passed local test.