Semi-functioning queueing system. The numbering for processes doesn't work yet.