Difference Equations and Discrete Dynamical Systems with Applications