Computing probability of mutually exclusive events