completing array exercise.