Implement several pattern match algorithm, including KMP(i unchanged, j change), BM(reverse order and right pointer), RK(using hash method to match).