Function to get a 'pseudo' randomly generated chromosome.