Ttl and or invert gate