go/accumulate: First working solution.