結果 : knuth-morris-pratt algorithm example