Simulation 2D: Energy Conservation in a Spring