An agent-based computational economy