Adds the simulation for part A