def lines_to_list(list, columns, delimiter):
    """
    convert a list of lines read from a file to a list of list by specify the number of columns and the delimiter
    parameters:
    list: list, lines returned by open_text()
    columns: integer, number of columns.
    delimiter: the delimiter to split a line
    """
    new_list = [list[i:i+columns] for i  in range(0, len(list), columns)]
#     new_list = zip(*[iter(list)]*columns) 
    header = []  
    for h in new_list[0]:
        header.append(str(h.decode()).split(delimiter)[0])
    content = [header]
    for l in new_list:
        line = []
        for c in l:
            line.append(''.join(str(c).split(delimiter)[1:]))
        content.append(line)
    return content