Stochastic Modeling and the Theory of Queues