Finding the probability of an event