A Statistical Mechanical Model Of Economics