public void chooseCheckerPieceCPU()
	{
		int index = 0;
		for (int x = 0; x < checkersSpaces.length; x++) {
			for (int y = 0; y < checkersSpaces.length; y++) {	
				if(checkersSpaces[x][y].getIcon() != null && (checkersSpaces[x][y].getIcon().equals(playerTwoCheckerPiece) || 
						checkersSpaces[x][y].getIcon().equals(playerTwoKingCheckerPiece)))
				{
					checkerPiecesCPU[index] = checkersSpaces[x][y];
					index++;
				}											
			}
		}
		
	}