結果 : horspool algorithm for pattern matching