C code from Discrete Event Simulation: A First Course translated into Python