Began implementing simulation loop in main2