added some documantation to queue.go