split methos: select, crossover and mutate in Population class