add array exercise