Completed chapter 5 of An Introduction to Programming in Go