Code used to simulate the Monty-Hall problem