Add a sample code for producer-consumer pattern in Go.
Remove redundant codes.