int minValue(Board cB, int ply) {
		
		int[] moves = new int[7];
		int lowest = 0;
		
		for (int i = 0; i < 7; i++) {
			moves[i] = Integer.MAX_VALUE;
			
			if (cB.validMove(i)) {
				cB.makeMove(i);
				
				if ((cB.winnerIs() == 0) && ply>0) {
					moves[i] = maxValue(cB,ply-1);
				}
				else {
					moves[i] = -cB.getStrength();
				}
				
				if (moves[i]<moves[lowest]) {
					lowest=i;
				}
				cB.undoMove();
			}
			//System.out.print(moves[i] + " ");
		}
		//System.out.println();
		return moves[lowest];
	}