Develop an acceptance-rejection technique for generating a geometric random variable X with parameter p on the range 0, 1, 2.... We already discussed one method in the class. (Hint: X can be thought of as the number of trials before the first success occurs in a sequence of independent Bernoulli trials.)