iterating through years to make grid