Remember: Simulation is a "learn by doing" discipline. Use your PDF to understand the logic, but open an IDE (like Jupyter Notebook or MATLAB) to write the code. Trace events with a pencil. Test your RNG. Validate your outputs.
While a simple Google search for yields thousands of results, quality varies wildly. Here is a hierarchy of sources to prioritize: simulation and modelling lecture notes pdf
A simplified, logical, or mathematical representation of a system designed to study its characteristics. Remember: Simulation is a "learn by doing" discipline