update chapter 12 exercises' solution