add solutions and notes for ch.8