Simulating simple queue with Go