import csv


def load(path: str) -> list:
    """Path should refer to CSV file with
    format
    B,m,1530,1650,21823,CIS,507
    Columns: sub-column (A-D), day of week (mtwrf),
    from-time, to-time, CRN, subject code, course
    number.
    """
    schedule = [ ]
    with open(path, 'r') as f:
        reader = csv.reader(f)
        for row in reader:
            schedule.append(row)
    return schedule