Is it possible to build a tri-state gate from npn transistors? I'm trying to make an electronically controlled switch that allows current to flow in either direction but has a high impedance when open. I was hoping to use the transistors I have on hand but it looks like I might have to order an additional IC.