Knutt Morris Pratt algorithm finally added