Market Behavior and Evolution of Wealth Distribution: A Simulation Model Based on Artificial Agents