Exercise 6 - Chapter 8 (Boolean Algebra and Logic Gates)