Write a generalization of the program for one oscillator to describe the motion of coupled linear oscillators.