lookup_table function

Transform a flat table into a look up table