foreach loops for mult-demenstional arrays.  if values contain another array, then an additional
nested foreach can be used.