An implementation of a queue algorithm for academic purposes.