private void initGrid() {
		grid = new Site[xSize][ySize];
		for(int x = 0; x < xSize; x++) {
			for(int y = 0; y < ySize; y++) {
				double distance = Math.sqrt(Math.pow((center1 - x), 2) + Math.pow((center1 - y), 2));
				double distance2 = Math.sqrt(Math.pow((center2 - x), 2) + Math.pow((center2 - y), 2));
				double cap = minFood;
				if(distance <= distance2 && distance >= 0) {
					cap = maxFood * (1 - distance / spread);
				}
				if(distance > distance2 && distance2 >= 0) {
					cap = maxFood * (1 - distance2 / spread);
				}
				if(cap < minFood) {
					cap = minFood;
				}

				grid[x][y] = new Site(cap, x, y);
				totalFoodCapacity = totalFoodCapacity + cap;
			}
		}
	}