結果 : find common prefix in array of strings python