Create rmac.c


To calculate the throughput for pure and slotted aloha protocols through simulation technique and generate the throgughput.m file as output which can be run on MATLAB to see the simulated output along with the theoretical result.