So, so far I coded like this for the LogicGate.
class LogicGate: def __init__(self, lbl): self.name = lbl self.output = None def get_lab