Hokey story, but the scenario makes for great morality/law debates.
For example, if I programmed my computer to randomly log on to his website and fire a shot in a random direction, and Bill got shot, am I guilty of murder, manslaughter, negligence or nothing?
Consider that:
A. Bill set it up, so he knows the risks?
B. Bill was aware that people could log in any time and fire, so why was he in the way of the bullet?
C. Does the fact that my computer program decided when and where to shoot absolve me of responsibility in his death?
etc