ANDGate listener solved
ORGateTest refactored
all listeners implemented