Original: In 1938 , Claude Shannon showed how electric circuits with relays were a model for Boolean logic .
Simplified: The XOR operator is written as - like this :