complex adaptive model of societies