Finished chapter ten exercises