rowlist function

Convert a table to a list of rows