Added solution to the exercises of chapter 1