Analysis of the Effects of Terrorism on Urbanization