New structure LogicGate;
All logicgates implemented;