Examples from the book: Programming in Go