HOW CMOS INVERTER WORKS