Constructed simulated ternary buffer
Constructed simulated ternary CLAMP UP gate
Constructed simulated ternary CLAMP DOWN gate