Solution to 007 in Go using channels