Add tile values
Refactor and generate new grid