public static void check_intersect(double Hy, double Hxl, double Hxr, double Vx, double Vyt, double Vyb) {
		
		if (Hy < Vyt && Hy > Vyb && Vx > Hxl && Vx < Hxr) {
			//if the y-value of the horizontal component is within the range of the y-values of the vertical
			//component and the x-values of the vertical component is within the range of the x-values of
			//the horizontal component, then the two segments/lines intersect
			System.out.println("The vertical and horizontal segments intersect.");
			
		} else {
			//if not, then they don't
			System.out.println("The vertical and horizontal segments do not intersect.");
			
		}
		
	}