public void paint(Graphics g) {
	ImageLoader loader= new ImageLoader();
	BufferedImage ssImage=loader.load("/Robot Arm SS.png");
	SpriteSheet ss=new SpriteSheet(ssImage);
	ImageManager im=new ImageManager(ss);
	final int xCenterConstant=40;
	final int yCenterConstant=50;
	int i1,j2;
	for(int i=0;i<output.length;i++){
		for(int j=0;j<output[i].length;j++){
			if(output[i][j]==2){
				g.drawImage(im.green, (j*16)+xCenterConstant, (i*16)+yCenterConstant, 16,
						16 , null);
			}
				if(output[i][j]==1){
				g.drawImage(im.yellow, (j*16)+xCenterConstant, (i*16)+yCenterConstant, 16,
						16 , null);
				}
				if(output[i][j]==0){
				g.drawImage(im.red,(j*16)+xCenterConstant, (i*16)+yCenterConstant, 16,
						16 , null);
				}
			}
		}
	}