sample project from http://golang.org/doc/articles/wiki/