Harmonic motion problem using molecular vibration as a learning tool