結果 : write knuth morris pratt pattern matching algorithm