multidimesional array lazy sequence generator