for (i=0;i<=array.length;i++){
for (i=0;i<array.length;i++){
var find_average =arr=> arr.reduce((sum, cur) => sum + cur)/arr.length;