Principle of Nuclear Magnetic Resonance