KMP Algorithm Preprocess Example