int maxValue(Board cB, int ply) {
		//System.out.print("Max" + ply + ": ");
		int[] moves = new int[7];
		int highest = 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] = minValue(cB,ply-1);
				}
				else {
					moves[i] =-cB.getStrength();
				}
				
				if (moves[i]<moves[highest]) {
					highest=i;
				}
				cB.undoMove();
			}
			//System.out.print(moves[i] + " ");
		}
		//System.out.println();
		return moves[highest];
	}