Minimal implementation of ordered n-tuples class in Lua