Computer simulation in social sciences