ReducerArray.java modified