simple lua wrapper of a copycat radix tree