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

		}
	}