tail chapter 3 exercise 2
Working on exercise 3.5