In the Name of God: Understanding the Mindset of Terrorism