Added functions aggregate_demand, aggregate_supply, and find_competitive_equilibrium.

There seem to be some problems with aggregate_demand and aggregate_supply.