Terrorism, Ticking Time-Bombs, and Torture: A Philosophical Analysis