implements nand

* reference: https://github.com/hapijs/joi/issues/362