Exercise 5: Energy in the Euler-Cromer Algorithm Model of a SHO

Modify your model to produce a graph of the total energy as a function of time. Is energy conserved for the Euler-Cromer algorithm?