Finished chapter nine exercises, mostly