tournament selection and logfile