Completed chapter 3 of An Introduction to Programming in Go