Text this: Molecular-Dynamics Calculation of Nanostructures Thermodynamics. Research of Impurities Influence on Results.