Fixed critical error in generating new generation
Implemented selection and gene mixture