added script to simulate a harmonic oscilator.