NotGate overriden setInputGate method now works in theory
Superclass Gate setInputGate method now also works in theory