Adding the final version to ex6 from the chapter 1