implement Bit.hdl, start chapter 03