Create ts_kmp.c