A basic simulator for the Monty Hall problem