private void updateGate(String A, String B, String C, String D, String E, String F, String G, String H, String Y) throws InvalidPinException {
		if (this.isHigh(A) && this.isHigh(B) && this.isHigh(C) && this.isHigh(D) && this.isHigh(E) && this.isHigh(F) && this.isHigh(G) && this.isHigh(H)) {
			this.setPin(Y, Pin.PinState.LOW);
		} else {
			this.setPin(Y, Pin.PinState.HIGH);

		}
	}