Perl and golang scripts illustrating how to use multi-threads (goroutine) and queue (channel) to do multi-tasks