added each: convenience method to iterate a block over contents of array