1.3 Practice: logic gates