Applications of Lie Groups to Difference Equations