add exercises and solutions in chapter 1