Knuthmorrispratt Algorithm Example For Beginners