Add Array::each_mut method and use it instead of iterators