Finish exercise 2.3-6