1) add chapter 2 presenting the model and pseudo codes