convert a list of lists `a` into list of tuples of appropriate elements form nested lists,zip(*a)