Added initial version of kmp search