update to Chapter 2

make the input file from diagram tikz