public void draw(double[] input) {
		draw.show(0);
		draw.clear(Drawer.BLACK);
		
		double barWidth = 1.0 / input.length;
		double width = 0.90 * barWidth;
		for (int i = 0; i < input.length; i++) {
			if (exch.contains(i)) {
				draw.setPenColor(Drawer.RED);
			} else if (less.contains(i)) {
				draw.setPenColor(Drawer.ORANGE);
			} else {
				draw.setPenColor(Drawer.GRAY);
			}
			
			double x = barWidth * (i + 0.5);
			double y = 0.5;
			double halfWidth = width * 0.5;
			double halfHeight = input[i] * 0.45;
			draw.filledRectangle(x, y, halfWidth, halfHeight);
		}
		
		draw.setPenColor(new Color(222, 222, 222));
		draw.setFont(draw.getFont().deriveFont(16.0f));
		draw.textLeft(0, 1, this.name);
		
		draw.setFont(draw.getFont().deriveFont(10.0f));
		draw.textLeft(0, 0, "E: " + this.exchs);
		draw.textLeft(0.1, 0, "C: " + this.compares);
		draw.textLeft(0.8, 0, "T: " + (this.compares + this.exchs));
		
		draw.show(33);
	}