Write a function of type:
xor : bool -> bool -> bool
that implements the logical connective xor ("exclusive or").
Try with different implementation styles, using:
- the built-in logical connectives
not
,&&
,||
; - conditional expressions;
- pattern matching.