function x = mDice(m,n)
% mDice.m Roll m dice n times

x = zeros(1,n); % storage space

for k=1:m
    x = x + oneDie(n);
end

% Example:

% m = 2;
% x = mDice(m,10000);
% xBins = m:(6*m);
% y = hist(x,xBins);
% bar(xBins,y/length(x))
% xlim([0,6*m+1]);

end

