add kmp.cpp
remove white-space in kmp.cpp