Create automation_kmp.cpp