calculate fitness and create individuals