iterating over two lists in pairwise way, using zip