結果 : write brute force algorithm for string matching