The source code for the simulation