code: public void addSolution(int location) {
      //Increase the solutions in the location specified.
      hypercubes[location]++;
  
      //Update the most populated hypercube
      if (hypercubes[location] > hypercubes[mostPopulatedHypercube]) {
        mostPopulatedHypercube = location;
      }
  
      //if hypercubes[location] becomes to one, then recalculate 
      //the occupied hypercubes
      if (hypercubes[location] == 1) {
        this.calculateOccupied();
      }
    }
docs: Increases the number of solutions into a specific hypercube.
  
  @param location Number of hypercube.