Compare elements of a list of lists and return a list,zip(*a)