"Accumulate" a list by adding elements gradually. Much like "zl group" except it can output arbitrary-length lists.