Added XOR gate.
Renamed connectOutputToInput(...) to connectPortToInput(...).
Merge branch 'master' of github.com:martin-nagy/digit-tool