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