Text this: Study of localized solutions of the nonlinear discrete model for dipolar BEC in an optical lattice by the homoclinic orbit method