Simulation of the monty hall problem