Damped harmonic oscillator (doubt that this code will actually ever help anyone... except me, I wouldn't do it for no purpose;)