Function average

Return the average of the floats in the list xs.