[cbc] Correctness by Construction: second homework