Simulations in Principles of Microeconomics