Introduction to difference equations. With illustrative examples from economics, psychology, and sociology