結果 : find longest repeating substring python