Using Mathematica to simulate general queueing systems