exercise 3.38 or-gate