reset output of gates
reset output of gates
addInput, removeInput functions added
Tests added for logic gates
Merge pull request #237 from salil93/gates

Gates Class improved