Elem(String file) {
	    	n++;
	    	X = new double[inputNo];
	    	actualY= new double[outputNo];	
	    	String[] arrs = file.split(",");
	    	for(int i=0; i<inputNo; i++)
	    		X[i]=Double.parseDouble(arrs[i]);
	    	for(int i=inputNo; i<outputNo+inputNo; i++)
	    		actualY[i-inputNo]=Double.parseDouble(arrs[i]);
	    	
			if (HeadNULL()){ head = this; return;}
			Elem tek=Head(); 
			while(tek.sled!=null)
				tek=tek.sled;
			tek.sled = this; 
	    }