Playing around with code from tour.golang.org