TournamentSelector now handles both minimization and maximization problems