Implement a method for the Collection class that answers the average of the elements of the collection.
Collection