Persistence and convergence of ecosystems: An analysis of some second order difference equations