Made changes to the gates.py file to add a parent class for multiple input gates.
Merge pull request #108 from petermlm/develop

Made changes to gates.py file to add a parent class for multiple input gates.