Knutth Morris Pratt Matching