Added Knuth Morris Pratt string searching algorithm