Modeling the role of government efforts in controlling extremism in a society