Dynamics of Violent Extremism