Fixed a few bugs in gates.py

Modified trigger() of XOR, XNOR, NOT gates to allow for Connector class inputs