make a flat list from list of lists `list2d`,list(itertools.chain(*list2d))