Add a random function to generate inidividual