A demonstration of creating C function which can be called in lua.