private int countLiveNeighbors(int i, int j)
	{
		int numLiveNeighbors = 0; 
		for(int x = i - 1; x < i + 2; x++){
			for(int y = j - 1; y < j + 2; y++){
				if(x == i && y == j) continue;
				numLiveNeighbors += isAlive(x,y);
			}
		}
		return numLiveNeighbors;		
	}