chapter 1 and 2 exercises done