Add randomGenerator

generator for the first generation