First commit of exercise 2 in chapter 7