Initial checkin of random_sample.py