merge arbitrary python iterables