In an ideal mass-spring system (oscillating horizontally on a frictionless surface), the total energy is conserved.  What types of energy are involved?