string match kmp & boyer moore