Util function allowing for iterating over multiple arrays item by item
the arrays to iterate over
an array with rows and columns flipped
Util function allowing for iterating over multiple arrays item by item