New structure LogicGate;
All logicgates implemented;
Merge pull request #1 from jeukel/master

New structure LogicGate;