def halfader(self, a, b):
     s = XorGate(a, b)
     c = AndGate(a, b)
     return (s,c)