Mathematical models and simulations of complex social systems