Add funtions to generate and seed grids