add solutions for ch05