Finished Chapter 1

Exercises from chapter 1