https://wiki.redronic.com/electronic-tutorial/boolean-algebra/logic-nor-function/