add array methods - chapter 04 - second edition