start chapter 02, HalfAdder implemented