Exact solutions for the perturbed nonlinear Schrödinger equation with power law nonlinearity and Hamiltonian perturbed terms