Aagent Based Model for 2nd Chapter of "The General Theory"