
N_games = 10000;
N_doors = 10;

change_decision   = ones(1,N_games);  % recall true is 1 (anything but 0)
stick_to_a_choice = zeros(1,N_games); % false is 0

game_outcome_func = @(x) doors_game(x, N_doors);

sum_stick_to_a_choice = sum( arrayfun( game_outcome_func, stick_to_a_choice ) )
sum_change_a_choice   = sum( arrayfun( game_outcome_func, change_decision   ) )


