add the grid of tiles and check for matches