Examples from the Programming in Go book