Add KMP for searching string.