changed tile.neighbor_tiles to be a dictionary of indices instead of tiles