public void drawSquare(Graphics2D shape){
		
		int x = Math.min(starting_point.x, ending_point.x);
		int y = Math.min(starting_point.y, ending_point.y);
		shape.setColor(c);
		
		if(fill==true)
			shape.fillRect(x, y, width, width);
		else
			shape.drawRect(x, y, width, width);
		
	}