Update LogicGate.py

Initial commit of classes which model gates which can be later combined for more elaborate digital circuits.