writing a program that will output the average of a list of numbers.