public char[][] floodFill(int x, int y, int exitX, int exitY, char[][] floodedLayout)
	{
		if(floodedLayout[x][y] == '.' || floodedLayout[x][y] == 'F')
		{
			floodedLayout[x][y] = '-';
			floodFill(x+1, y, exitX, exitY, floodedLayout);
			floodFill(x-1, y, exitX, exitY, floodedLayout);
			floodFill(x, y+1, exitX, exitY, floodedLayout);
			floodFill(x, y-1, exitX, exitY, floodedLayout);
		}
		return floodedLayout;
	}