Skip list implementation in Lua