Create LogicGate.py