simple implementation demonstrating Monty Hall
To execute, just do:
./monty_hall.py
You should see something lie:
Success 33258 out of 100000 when change=False. Success rate: 0.33258
Success 66833 out of 100000 when change=True. Success rate: 0.66833