General soliton solution to a nonlocal nonlinear Schrödinger equation with zero and nonzero boundary conditions. (30th October 2018)