Unfinished RandomGenerator class with test