add comments about removing duplicate coordinates and sorting coordinates for tiles to be removed