code for the book arranged by chapters and subjects.