Energy levels of a nonpolynomial oscillator using finite difference technique