Spin Dynamics: Basics of Nuclear Magnetic Resonance