Completeley Working gates.py and connector.py with examples

Implemented High Impedance functionality
Logic Contentions will be detected
Corrected many minor bugs in implementation of gates
Rewrote setInput() and setInputs()
Changed the variables related to Connector class
Added a little Documentation
Examples written for all gates and a few exceptions and warnings
Python 3.x compatible (and almost PEP8 compatible)