Companion code for the Gopher Academy blog post.