add code book.md

describe the structure and how to reproduce the graphics