The resolution of singularities of an algebraic variety