Mathematical Methods in the Theory of Queuing