brief understanding of kmp

brief understanding of kmp, learning from CLRS