Simulation and programming in teaching-learning of probability