toConnector method:
- added input validity checks (the one Isaac mentioned on Friday)
- throws exception if the 2 digits are the same digit