coupled harmonic oscillators simulation