created file for our functions
changed intention of simulation.R