def make_dict(table, key_col):
    """
    Given a 2D table (list of lists) and a column index key_col,
    return a dictionary whose keys are entries of specified column
    and whose values are lists consisting of the remaining row entries
    """
    answer_dict = {}
    for row in table:
        key = row[key_col]
        copy_row = list(row)   # avoid mutating table
        copy_row.pop(key_col)
        answer_dict[key] = copy_row
    return answer_dict