Why is this function not giving me the average of an array of values? This is a beginner problem I’m working on.