public static void main(String[] args) throws Exception { //debug
NormalDistribution n= new NormalDistribution(10,5);
Distribution d= new Distribution(
0,0,0,0,1,1,1,1,1.2,1.2,1.3,2,2,3,5,6,7,
10,10,10,10,11,11,11,11,12,12,12,14,13,13
);
d.add(20, 5); d.add(21, 10); d.add(22, 8);