each_slice solution