add kmp in DSAA