added reset function to the simulation. edited some resources for aesthetics.