Modelling Terrorist Attacks