added coding for chapter 1 in tutorial