add KMP
Merge pull request #1 from caigit/master

add KMP