Finished chapter seven exercises