X Ray Diffraction Principle