Added HarmonicOscillator. With tests.

Because everybody likes harmonic oscillators!