The library must comprise a function which takes in the array of numbers (of arbitrary size). Function will then compute the average of numbers, total of all of the numbers added together, and new array of numbers which is contain the other numbers divided by 2. It will then return the new list with all of that information.