Random Variable for 2 Dice

In class we defined a Random Variable X for the rolling of 2 dice to be the sum of their values. We also saw how to generate the induced probability function and the cumulative distribution function (cdf) for X. Write a simple application program that generates 3600 numbers from this cdf. Accumulate their values into "bins". Print out the accumulated values. Does this match the frequency distribution for X?