an array of arrays of booleans
for every top level array, an array that contains the indices with truthy values.
Convert an array of arrays of booleans into an array of arrays of numbers, where those numbers are the indices in the array at which those booleans appear.
an array of arrays of booleans