next(table, key)
Returns the first key/value pair in the table. If a key argument was specified then returns the next element in the table based on the key provided.