Basics of X-Ray Powder Diffraction