public ArrayList<Point> getValidTiles(int exitX, int exitY, char[][] floodedLayout)
	{
		//stores valid player spawns
		ArrayList<Point> validTiles = new ArrayList<>();

		//go through char array
		for(int y = 0; y < houseLength; y++)
		{
			for(int x  = 0; x < houseLength; x++)
			{
				//if a tile is reachable, and is far enough away
				if((floodedLayout[x][y] == '-') && (distanceCheck(x,y,exitX,exitY)))
				{
					//add the point to the array list
					Point p = new Point(x,y);
					validTiles.add(p);
				}
			}
		}

		return validTiles;

	}