Economics: Resource Allocation and Market Dynamics