public DataOut (String algoName, int maxValueLength, int numberOfPoints){
        this.algoName = algoName;
        this.maxValueLength = maxValueLength;
        this.numberOfPoints = numberOfPoints;
        time = new double[numberOfPoints];
        memory = new double[numberOfPoints];
        points = new int [numberOfPoints];
    }