kmp code to be fixed
insertNode.c code modified