Knuth–Morris–Pratt algorithm

READY