Realization of the inverse scattering transform method for the Korteweg–de Vries equation