can now randomly generate initial population