Lists combinations of input arrays.