Create another example in Go using io.Writer

Another version of g()("al) using a Writer interface instead of
depending on a global variable. First call to g can accept any number of
Writers as arguments. If none are provided, it will write to standard
out.