結果 : write an algorithm for naive string matching