A Computational Model of Infant Learning and Reasoning with Probabilities