Finished chapter 7 exercieses