Collisions of an Atom and a Harmonic Oscillator