Text this: Solving nonlinear Schrödinger equation of optical fiber type using inverse scattering transform