code: public double getAverage() {
          if (!DATA_LIST.isEmpty()) {
              double sum = 0;
              for (DataPoint dataPoint : DATA_LIST) {
                  sum += dataPoint.getValue();
              }
              return sum / DATA_LIST.size();
          }
          return 0;
      }
docs: Returns the calculated average of the current data
  @return the calculated average of the current data