una f.ne ricorsiva che restituisce il totale dei numeri dispari in un array di interi