結果 : find common prefix in list of strings python