add KMP

add the KMP Algorithm