playing around with an implementation of go's channels