finish array exercise