結果 : naive string matching algorithm python