Calculating probabilities with marbles