Added files for chapters 6 and 7