commit of array manipulation exercise