basic gates
buf, not
3 state buffers and inverters