added coding exercises for chapter 1 & 2