Wrote test for random generator. Then re-wrote random generator