Create kmp.cpp

KMP Algorithm