Full threadhoweman·Combining a couple ideas, here's a Go solutionhttp://play.golang.org/p/XnPglbkLW4View on HN