Piper Comunity class that takes in input an array and output the average of the numeric value of this array