assign_from_table function

Distributes samples based on a sample sheet.