Added class RandomGenerator