Added Knuth_Morris_Pratt in Lua