Agent based simulation of the evolution of society as an alternate maximization problem | Read Paper on Bytez