How Smart Cities Are Using AI Technology To Prevent Crime And Terrorism?