KMP to implement strStr.