Added Linear search in Lua