The variables that go into the initialagegroups array are population for single years of age (e.g. 38 years old, 39 years old, etc.). I'm trying to aggregate them into 5-year age cohorts (e.g. 36-40 years old) by using the do loop.